package com.qiniuyun.graph.common.vo;


import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@JsonNaming(value = PropertyNamingStrategy.SnakeCaseStrategy.class)
public class CompoundVO {
    /**
     * 合成图片的底图
     */
    @NotEmpty(message = "background picture can not be empty")
    private String background;

    /**
     * 合成图片的各种参数
     */
    @NotEmpty(message = "watermark params can not be empty")
    private List<GraphVO> dress;
}
